subdir-ccflags-y := -Werror

# Include netcomm SW specific definitions
include $(srctree)/drivers/net/ethernet/freescale/sdk_fman/ncsw_config.mk
ccflags-y += -I$(NET_DPA)

# Common
obj-$(CONFIG_FSL_SDK_DPA)		+= dpa_alloc.o
obj-$(CONFIG_FSL_SDK_DPA)	+= qbman_driver.o

# Bman
obj-$(CONFIG_FSL_SDK_BMAN)		+= bman_high.o
obj-$(CONFIG_FSL_BMAN_CONFIG)	+= bman_config.o bman_driver.o
obj-$(CONFIG_FSL_BMAN_TEST)	+= bman_tester.o
obj-$(CONFIG_FSL_BMAN_DEBUGFS)  += bman_debugfs_interface.o
bman_tester-y			 = bman_test.o
bman_tester-$(CONFIG_FSL_BMAN_TEST_HIGH) += bman_test_high.o
bman_tester-$(CONFIG_FSL_BMAN_TEST_THRESH) += bman_test_thresh.o
bman_debugfs_interface-y	 = bman_debugfs.o

# Qman
obj-$(CONFIG_FSL_SDK_QMAN)		+= qman_high.o qman_utility.o
obj-$(CONFIG_FSL_QMAN_CONFIG)	+= qman_config.o qman_driver.o
obj-$(CONFIG_FSL_QMAN_TEST)	+= qman_tester.o
qman_tester-y			 = qman_test.o
qman_tester-$(CONFIG_FSL_QMAN_TEST_STASH_POTATO) += qman_test_hotpotato.o
qman_tester-$(CONFIG_FSL_QMAN_TEST_HIGH) += qman_test_high.o
obj-$(CONFIG_FSL_QMAN_DEBUGFS)	+= qman_debugfs_interface.o
qman_debugfs_interface-y	 = qman_debugfs.o

# USDPAA
obj-$(CONFIG_FSL_USDPAA)	+= fsl_usdpaa.o fsl_usdpaa_irq.o
